The Dreamweaver JavaScript API > File manipulation functions > dom.getFontMarkup()

 

dom.getFontMarkup()

Availability

Dreamweaver 3.0

Description

Gets the value of the specified attribute of the FONT tag for the current selection.

Arguments

attribute

attribute must be "face", "size", or "color".

Returns

A string containing the value of the specified attribute, or an empty string if the attribute is not set.

Enabler

None.